package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Spec;
import entity.PageResult;
import entity.Result;

import java.util.List;

public interface SpecService extends IService<Spec> {

    List<Spec> findAll();

    PageResult findPage(Integer page, Integer size);

    Spec findById(Integer id);

    Boolean add(Spec spec);

    Boolean update(Integer id,Spec spec);

    Boolean delete(Integer id);
}
